package com.kanqiubao.kq.fragment.live;

import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.LinearLayoutManager;

import com.kanqiubao.kq.R;
import com.kanqiubao.kq.adapter.live.LiveDetailZbListAdapter;
import com.kanqiubao.kq.fragment.SmartBaseRefreshFragment;

public class LiveDetailFragmentThree extends SmartBaseRefreshFragment<String> {

    @Override
    protected int getLayoutId() {
        return R.layout.include_smart_recycler_refresh_layout;
    }

    @Override
    protected void initData() {
        mSuperBaseAdapter.addData(test());
    }

    @Override
    protected void initView() {
        mSuperBaseAdapter = new LiveDetailZbListAdapter();
        super.initView();
        mRecyclerView.setLayoutManager(new GridLayoutManager(getActivity(), 2));
        mSmartRefreshLayout.setEnableLoadMore(false);
        mSmartRefreshLayout.setEnableRefresh(false);
    }
}
